#include <stdio.h>

int main( )
{
    double sum = 0, t;
    int i;
    for ( i = 0; i < 12; i++ )
    {
        scanf("%lf", &t);
        sum += t;
    }
    printf("$%.2lf\n", sum / 12);
    return 0;
}
